package com.ssm.common;

import java.util.UUID;

/**
 * Created by asus on 2017/7/14.
 */
public class ThisSystemUtil2 {
    public static String uuid(){
        String uuid= UUID.randomUUID().toString();
        char[] cs=new char[32];
        char c=0;
        for(int i=uuid.length(),j=0;i-->0;){
            if((c=uuid.charAt(i))!='-'){
                cs[j++]=c;
            }
        }
        return new String(cs);
    }
}
